package com.zxj.flights.users.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.zxj.flights.common.util.PageInfoUtil;
import com.zxj.flights.users.pojo.AMovie;
import com.zxj.flights.users.pojo.ANews;

public interface IUserService
{
	/* 新闻开始 */
	JSONObject saveOneANewsService(ANews news);

	JSONObject updateOneANewsService(ANews news);

	JSONObject deleteOneANewsService(ANews news);

	ANews findOneANewsService(Map<String, Object> condmap);

	List<ANews> findANewsCondListService(PageInfoUtil pageInfoUtil, Map<String, Object> condmap);
	/* 新闻结束 */
	/* 电影开始 */
	JSONObject saveOneAMovieService(AMovie news);

	JSONObject updateOneAMovieService(AMovie news);

	JSONObject deleteOneAMovieService(AMovie news);

	AMovie findOneAMovieService(Map<String, Object> condmap);

	List<AMovie> findAMovieCondListService(PageInfoUtil pageInfoUtil, Map<String, Object> condmap);
	/* 电影结束 */
	
}
